package in.abip.chisame;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

/**
 * Playground activity
 * 
 * @author Julot
 * @since Feb 9, 2012 11:34:29 AM
 */
public class PlaygroundActivity extends NetworkActivity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.playground_activity);
		bindOn();
	}
	
	private void bindOn() {
		View view = (View) findViewById(R.id.on);
		view.setOnClickListener(
			new OnClickListener() {
				public void onClick(View view) {
					tcpOutputs.add("Hello World ^_^v");
					startSend();
				}
			}
		);
	}
	
}
